package com.hkbigdata.sybx.mapper;

import com.hkbigdata.sybx.bean.CommunityServicePolicy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2025-06-03-16:29
 * @see 2194550857@qq.com
 */
@Mapper
public interface CommunityServicePolicyMapper {
//    @Select("select * from community_service")
    @Select("select title as title, department as department," +
            " release_date as releaseDate, content as content," +
            " browse_count as browseCount from community_service;\n")
    List<CommunityServicePolicy> selectAll();
}
